Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / PrintManager Class / updatePageNumberAndPageSettings Method / updatePageNumberAndPageSettings(List<PageInfo>,int,int) Method
The page collection.
The page number of the first page.
The total number of pages.
In This Topic
    updatePageNumberAndPageSettings(List<PageInfo>,int,int) Method
    In This Topic
    Update the page number, page count and page settings of each page. When the page collection changes (add, delete, move), you need to call this method to update the pages information.
    Syntax
    public void updatePageNumberAndPageSettings( 
       java.util.List<PageInfo> pages,
       int firstPageNumber,
       int pageCount
    )

    Parameters

    pages
    The page collection.
    firstPageNumber
    The page number of the first page.
    pageCount
    The total number of pages.
    See Also